<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%@page import="avicit.platform6.core.locale.PlatformLocalesJSTL"%>
<%@page import="java.util.Locale"%>
<%@page import="avicit.platform6.api.session.SessionHelper"%>
<%@page import="java.util.Iterator"%>
<%@page import="java.util.Map"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="avicit.platform6.commons.utils.ViewUtil"%>
<%@ taglib prefix="sec" uri="/WEB-INF/tags/shiro.tld"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>新增条件</title>
<base href="<%=ViewUtil.getRequestPath(request)%>">
<%@page import="avicit.platform6.api.sysshirolog.impl.AfterLoginSessionProcess"%>
<% 
Object lang=session.getAttribute(AfterLoginSessionProcess.SESSION_CURRENT_LANGUAGE_CODE);
String languageCode="zh_CN";
if(lang!=null){
	languageCode=lang.toString();
}
	Locale locale =SessionHelper.getLocaleByUser(request);
%>
<link href="static/css/custom/lantop/css/custom.css" type="text/css"  rel="stylesheet">
<jsp:include
	page="/avicit/platform6/component/common/EasyUIJsInclude.jsp"></jsp:include>
<script type="text/javascript"
	src="avicit/im/lantop/userauthset/AddQualification.js"></script>
<jsp:include
	page="/avicit/platform6/modules/system/commonpopup/commonSelectionHead.jsp"></jsp:include>
<jsp:include page="/avicit/im/common/ImUIJSCSSInclude.jsp"></jsp:include>
<script type="text/javascript"
	src="avicit/im/lantop/userauthset/locale/language_<%=languageCode%>.js"></script>
<script type="text/javascript">
	dialogId = "${dialogId}";
	targetId = "${targetId}";
	targetType = "${targetType}";
	nodeIds = "${nodeIds}";
	nodeNames = "${nodeNames}";
	table = "${table}";
	ysf = "${ysf}";
	ljgx = "${ljgx}";
	authTypeListStr = "${authTypeListStr}";
	authServiceId = "${authServiceId}";
</script>
<style>
 #test tr{
   height:40px;
 }
</style>
</head>
<body class="easyui-layout">
	<div data-options="region:'north',border:false" style="height: 90px;">
			<table class="tableForm" border="0" cellspacing="1" width="100%">
				<tr>
					<td align="left">
					   <sec:accesscontrollist hasPermission="3"
							domainObject="userauthset_AddQualification_button_resetButton">
							<%-- 重置 --%>
							<a id="resetButton" class="easyui-linkbutton  selbtn"  onclick="reset();"  style="margin-left:77px;margin-top:42px;"
								href="javascript:void(0);">
								<img alt="" src="avicit/im/lantop/common/search/image/icon_tool039_blue.png">
								<span  class="selbtc"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.userauthset.userauthset.button.addCondition.button.reset","i18n.lantop",locale)%></span>
								</a>
						</sec:accesscontrollist> 
						</td>
				</tr>
			</table>
	</div>
	<div data-options="region:'center',split:false" style="width: auto;margin-top:37px;margin-left:60px;">
		<!-- 新增条件设置 begin -->
		<%-- 添加条件 --%>
	<%-- 	<div class="easyui-panel" title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.userauthset.userauthset.button.addCondition.addCondition","i18n.lantop",locale)%>"
			style="width: auto; height: auto; padding: 0px; background: #fafafa;"
			data-options="collapsed:true,closable:false, collapsible:false">
		</div> --%>
		<form id="formCbbFondsDb" method="post">
			<table style="padding-top: 16px; margin: 0 auto; width: 86%;">
				<tr>
					<%-- 数据表 --%>
					<th align="right" width="100px"><span class=""></span><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.userauthset.userauthset.button.addCondition.dataTable","i18n.lantop",locale)%>：</th>
					<td   width="406px"><input id="dataTable" name="dataTable"
						class="easyui-combobox"
						data-options="valueField: 'id',textField: 'text',data:${table},editable:false"
						style="width: 200px;" /></td>
					<%-- 权限类型 --%>
					<th align="right"><span class=""></span><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.userauthset.userauthset.button.addCondition.limitType","i18n.lantop",locale)%>：</th>
					<td><input id="authType" name="authType"
						class="easyui-combobox"
						data-options="valueField: 'id',textField: 'text',data:${authTypeListStr},editable:false"
						style="width: 200px;" /></td>
				</tr>
			</table>
		</form>
		<!-- 新增条件设置 end -->
		
		<!-- 条件设置 begin -->
		<form id="formQualification" method="post">
			<table style="padding-top: 40px; margin: 0 auto; width: 90%;    margin-top: 12px;">
				<tr>
					<%-- 开始日期 --%>
					<th align="right"><span class=""></span><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.userauthset.userauthset.button.addCondition.startDate","i18n.lantop",locale)%>：</th>
					<td><input id="startDate" name="startDate" type="text"
						class="easyui-datebox" style="width: 200px;" editable="false"></input>
					</td>
					<%-- 结束日期 --%>
					<th align="right"><span class=""></span><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.userauthset.userauthset.button.addCondition.endDate","i18n.lantop",locale)%>：</th>
					<td><input id="endDate" name="endDate" type="text"
						class="easyui-datebox" style="width: 200px;" editable="false"></input>
					</td>
				</tr>
			</table>
			<table border="1px #ooo" id="test" name="test" class="test"
				cellpadding="0" cellspacing="0" style="border: 0px;width: 70%;margin-top:45px;margin-left:11%;">
			</table>
		</form>
		<!-- 条件设置 end -->
	</div>
	<div data-options="region:'south',border:false" style="height: 50px;">

			<table class="tableForm" border="0" cellspacing="1" width="100%">
				<tr>
					<td align="center"><sec:accesscontrollist hasPermission="3"
							domainObject="userauthset_AddQualification_button_saveButton">
							<%-- 保存 --%>
							<a id="saveButton" class="easyui-linkbutton selbtn"
								onclick="saveQualification();" href="javascript:void(0);">
								<img alt="" src="avicit/im/lantop/documents/Filecollection/img/tick.png">
								<span  class="selbtc">确定</span>
								</a>
						</sec:accesscontrollist> 
						 <sec:accesscontrollist hasPermission="3"
							domainObject="userauthset_AddQualification_button_backButton">
							<%-- 返回 --%>
							<a id="backButton" class="easyui-linkbutton  selbtn"  style="    margin-left: 20px;"
								onclick="closeWindow();" href="javascript:void(0);">
                                  <img src="avicit/im/lantop/documents/Filecollection/img/close.png">
								 <span  class="selbtc">取消</span>
							</a>
						</sec:accesscontrollist></td>
				</tr>
			</table>
		
	</div>
</body>
</html>
